﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kiwi.Infrastructure;

namespace Kiwi.DataModel
{
    public class CommentInfo : NotificationObject
    {
        public CommentInfo() { }

        #region Fields
        private string title;
        private string link;
        private string description;
        private string author;
        private DateTime time;
        #endregion

        #region Properties
        public string Title
        {
            get { return title; }
            set
            {
                title = value;
                RaisePropertyChanged(() => Title);
            }
        }

        public string Link
        {
            get { return link; }
            set
            {
                link = value;
                RaisePropertyChanged(() => Link);
            }
        }

        public string Description
        {
            get { return description; }
            set
            {
                description = value;
                RaisePropertyChanged(() => Description);
            }
        }

        public string Author
        {
            get { return author; }
            set
            {
                author = value;
                RaisePropertyChanged(() => Author);
            }
        }

        public DateTime Time
        {
            get { return time; }
            set
            {
                time = value;
                RaisePropertyChanged(() => Time);
            }
        }
        #endregion
    }
}
